package com.library.domain;


import com.library.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 商品分类表 mb_goods_type
 *
 * @author null
 * @date 2020-04-23
 */
public class MbGoodsType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 分类编号
     */
    private Integer typeNo;
    /**
     * 分类名称
     */
    private String typeName;
    /**
     * 状态
     */
    private Integer typeStatus;
    /**
     * 操作时间
     */
    private Date createTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 扩展字段
     */
    private String ext;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setTypeNo(Integer typeNo) {
        this.typeNo = typeNo;
    }

    public Integer getTypeNo() {
        return typeNo;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeStatus(Integer typeStatus) {
        this.typeStatus = typeStatus;
    }

    public Integer getTypeStatus() {
        return typeStatus;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getExt() {
        return ext;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("typeNo", getTypeNo())
                .append("typeName", getTypeName())
                .append("typeStatus", getTypeStatus())
                .append("createTime", getCreateTime())
                .append("remark", getRemark())
                .append("ext", getExt())
                .toString();
    }
}
